package com.board.form;
//用户查询自己的评价
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
@ApiModel("用户查询自己的评价参数对象")
public class UserFindCommentForm {
    @ApiModelProperty("是否满意：0满意 1不满意")
    private Integer isSatisfy;
    @ApiModelProperty("是否有图：0有图 1没有图")
    private Integer hasImg;
    @ApiModelProperty("页码")
    @Min(value = 1,message = "页码不能小于1")
    private Integer pageNum;
    @ApiModelProperty("每页条数")
    @Min(value = 1,message = "每页条数不能小于1")
    @Max(value = 100,message = "每页条数不能大于100")
    private Integer pageSize;
}
